package com.blog.dao;

import com.blog.basic.dao.BasicDao;
import com.blog.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleDao extends BasicDao<Article> {


    Integer getCategoryIdByName(String name);
    List<Article> getArticlesByCategoryName(Integer categoryId);
}
